package com.guli.seckill.feign;

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zzb
 * @Date 2024/4/24 17:25
 * @Version 1.0
 */
@FeignClient("product-service")
@Repository
public interface ProductFeignService {
    @GetMapping("/product/skuinfo/info/{skuId}")
    public R skuInfo(@PathVariable("skuId") Long skuId);
}
